package com.woniuxy.daos;

import com.woniuxy.entitys.TbShareholder;
import com.woniuxy.entitys.TbShareholderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbShareholderDao {
    long countByExample(TbShareholderExample example);

    int deleteByExample(TbShareholderExample example);

    int deleteByPrimaryKey(Integer sid);

    int insert(TbShareholder record);

    int insertSelective(TbShareholder record);

    List<TbShareholder> selectByExample(TbShareholderExample example);

    TbShareholder selectByPrimaryKey(Integer sid);

    int updateByExampleSelective(@Param("record") TbShareholder record, @Param("example") TbShareholderExample example);

    int updateByExample(@Param("record") TbShareholder record, @Param("example") TbShareholderExample example);

    int updateByPrimaryKeySelective(TbShareholder record);

    int updateByPrimaryKey(TbShareholder record);
    int getallshareholder();

    List<TbShareholder> getprofit();

    TbShareholder selTbShareholderByUid(Integer uid);

    int updateShareholder(TbShareholder shareholder);
}